import { createApp } from 'vue'
import App from '@/App.vue'
import router from '@/router'
import { createPinia } from 'pinia'
import 'element-plus/dist/index.css'
import '@/assets/scss/rest.scss'
import '@/assets/scss/global.scss'
import '@/assets/scss/normalize.scss'
import 'animate.css'
import ElementPlus from 'element-plus'
// 全局组件
import Icon from '@/components/Icon/index.vue'
import LeaseTitle from '@/components/Lease_title/index.vue'
import V3Echarts from '@/components/V3Echarts/index.vue'

import 'echarts-liquidfill'

createApp(App)
  //@ts-ignore
  .use(ElementPlus)
  .use(createPinia())
  .use(router)
  .component('LeaseTitle', LeaseTitle)
  .component('V3Echarts', V3Echarts)
  .component('Icon', Icon)
  .mount('#app')
